/**
 * Copyright © 2021-2025 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.patient.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jeeplus.core.domain.BaseEntity;
import com.jeeplus.core.excel.annotation.ExcelDictProperty;
import com.jeeplus.core.excel.converter.ExcelDictDTOConverter;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
/**
 * 病人信息Entity
 * @author xx
 * @version 2024-02-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("bs_patient_info")
public class PatientInfo extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
     * 姓名
     */
	private String patientName;
	/**
     * 身份证号
     */
    @TableField("id_card_number")
	private String idCardNumber;
	/**
     * 性别
     */
	@ExcelProperty(value = "性别", converter = ExcelDictDTOConverter.class)
	@ExcelDictProperty("sex")
	private String gender;
	/**
     * 年龄
     */
	private Integer age;
	/**
     * 手机号
     */
	private String patientPhone;
	/**
     * 出生日期
     */
	private Date birthDate;
	/**
     * 住址
     */
	private String address;

	private String guomin;

	@TableField(exist = false)
	private String photo;

}
